import { defineConfig } from 'vitepress'

// https://vitepress.dev/reference/site-config
export default defineConfig({
  title: "李佳宇的学习博客",
  description: "记录学习的点滴",
  themeConfig: {
    // https://vitepress.dev/reference/default-theme-config
    nav: [
      { text: '首页', link: '/' },
      { text: 'Linux操作系统', link: '/pages/linux' },
      { text: 'MySQL数据库', link: '/pages/mysql' },
      { text: 'Java基础', link: '/pages/java' },
      { text: 'Web前端', link: '/pages/web-frontend' },
      { text: 'Web后端', link: '/pages/web-backend' },
      { text: '框架', link: '/pages/framework' },
      { text: '其它', link: '/pages/other' }
    ],

    sidebar: {
      '/pages/linux':[
        { text:'概述',link:'/pages/linux/'},
        { text:'Linux常用命令',link:'/pages/linux/Linux常用命令'},
        { text:'网络基础知识',link:'/pages/linux/网络基础知识'},
        { text:'配置静态IP地址',link:'/pages/linux/配置静态IP地址'},
        { text:'配置阿里云Yum软件仓库',link:'/pages/linux/配置阿里云Yum软件仓库'},
        { text:'安装Nginx',link:'/pages/linux/安装Nginx'},
        { text:'防火墙管理',link:'/pages/linux/防火墙管理'},
        { text:'端口管理',link:'/pages/linux/端口管理'},
      ],
      '/pages/mysql':[],
      '/pages/java':[],
      '/pages/web-frontend':[],
      '/pages/web-backend':[],
      '/pages/framework':[],
      '/pages/other':[]
    },

    socialLinks: [
      { icon: 'github', link: 'https://gitee.com/chigeyu' }
    ]
  }
})
